﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
// ReSharper disable InconsistentNaming

namespace ChanTai.WebApi.Data
{
    /// <summary>
    /// ItemKind
    /// </summary>
    public class ItemKind:ApiCovent
    {
        /// <summary>
        /// *险别代码[10]
        /// </summary>
        public string kindCode { get; set; }

        /// <summary>
        /// *保险金额[16,2]
        /// </summary>
        public double sumInsured { get; set; }

        /// <summary>
        /// 费率[16,2],为固定费率时则可不传，否则必传
        /// </summary>
        public double rate { get; set; }

        /// <summary>
        /// *保费[16,2],保额*费率*短期费率=保费,四舍五入,保留两位小数
        /// </summary>
        public double grossPremium { get; set; }

        /// <summary>
        /// *主险/附加险标志[1:(1主险,2附加险标志)]
        /// </summary>
        public string kindInd { get; set; }

        /// <summary>
        /// 免赔额
        /// </summary>
        public double dductible { get; set; }
    }
}
